<template>
    <div>
        这是主组件
        <Child :idCard="idCard1" :person="person"></Child>
    </div>
</template>
<script>
import Child from './Child.vue';
export default {
    name: "App",
    data() { 
        return {
            idCard1: "346543256457876x",
            person: {
                name: "西门庆",
                age: "20",
            }
        }
    },
    components: {
        Child,
    }
}
</script>
<style>

</style>